package com.guo.hui.enumtype;

public enum ArticleStatus {

	SAVE("0", "保存"),

	SUBMIT("1", "待审核"),

	PUBLISH("2", "审核通过");

	private String index;

	private String name;

	private ArticleStatus(String index, String name) {
		this.index = index;
		this.setName(name);
	}

	@Override
	public String toString() {
		return this.index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
